<!DOCTYPE html>
<html prefix="
og: http://ogp.me/ns#
article: http://ogp.me/ns/article#
" lang="zh_cn">
<head>
<meta charset="utf-8">
<meta name="description" content="python, go, ML, bigdata">
<meta name="viewport" content="width=device-width">
<title>vincent blog (旧文章页 2) | vincent blog</title>
<link href="assets/css/all-nocdn.css" rel="stylesheet" type="text/css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml">
<link rel="canonical" href="https://wisonwang.github.io/index-2.html">
<!--[if lt IE 9]><script src="/assets/js/html5.js"></script><![endif]--><style>
    div.input_prompt {
      display: none;
    }
    </style>
</head>
<body>
    <section class="social"><ul>
<li><a href="index.html" title="Home"><i class="icon-home"></i></a></li>
            <li><a href="archive.html" title="文章存档"><i class="icon-archive"></i></a></li>
            <li><a href="categories/" title="标签"><i class="icon-tags"></i></a></li>
            <li><a href="pages/about" title="About"><i class="icon-about"></i></a></li>
            <li><a href="rss.xml" title="RSS 源"><i class="icon-rss"></i></a></li>
            <li><a href="https://twitter.com/wisonwang" title="My Twitter"><i class="icon-twitter"></i></a></li>
            <li><a href="https://github.com/wisonwang" title="My Github"><i class="icon-github"></i></a></li>

        </ul></section><section class="page-content"><div class="content" rel="main">
        <div class="post">
            <h1 class="title"><a href="posts/shi-yong-ipython-notebookxie-bo-ke/">使用ipython-notebook写博客</a></h1>
            <div class="meta">
                <div class="authordate">
                    <time class="timeago" datetime="2019-01-09T22:52:30+08:00">2019-01-09 22:52</time>
</div>
                <div class="stats">
                                <a href="posts/shi-yong-ipython-notebookxie-bo-ke/#disqus_thread" data-disqus-identifier="cache/posts/shi-yong-ipython-notebookxie-bo-ke.html">Comments</a>


                </div>
            
            </div>
            <div class="body">
                <div tabindex="-1" id="notebook" class="border-box-sizing">
    <div class="container" id="notebook-container">

<div class="cell border-box-sizing text_cell rendered">
<div class="prompt input_prompt">
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<p>测试notebook</p>
<ul>
<li>
<p>aaaa</p>
</li>
<li>
<p>bbb</p>
</li>
</ul>
</div>
</div>
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">In [5]:</div>
<div class="inner_cell">
    <div class="input_area">
<div class=" highlight hl-ipython3"><pre><span></span><span class="k">def</span> <span class="nf">SayHello</span><span class="p">(</span><span class="n">name</span><span class="p">):</span>
    <span class="nb">print</span><span class="p">(</span><span class="s2">"</span><span class="si">{0}</span><span class="s2"> says hello !"</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">name</span><span class="p">))</span>


<span class="n">SayHello</span><span class="p">(</span><span class="s2">"lilei"</span><span class="p">)</span>
</pre></div>

    </div>
</div>
</div>

<div class="output_wrapper">
<div class="output">


<div class="output_area">

    <div class="prompt"></div>


<div class="output_subarea output_stream output_stdout output_text">
<pre>lilei says hello !
</pre>
</div>
</div>

</div>
</div>

</div>
    </div>
  </div>

            </div>
        </div>
            <nav class="postindexpager"><ul class="pager">
<li class="previous">
                <a href="." rel="prev">新一篇</a>
            </li>
            <li class="next">
                <a href="index-1.html" rel="next">旧一篇</a>
            </li>
        </ul></nav><script>var disqus_shortname="wisonwanghomepage";(function(){var a=document.createElement("script");a.async=true;a.src="https://"+disqus_shortname+".disqus.com/count.js";(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(a)}());</script><footer id="footer"><p>Contents © 2020         <a href="mailto:fangfu2012@gmail.com">vincent wang</a> - Powered by         <a href="https://getnikola.com" rel="nofollow">Nikola</a>         </p>
            
        </footer>
</div>
    </section><script src="assets/js/all-nocdn.js" type="text/javascript"></script><script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> </script><script type="text/x-mathjax-config">
    MathJax.Hub.Config({tex2jax: {inlineMath: [['$latex ','$'], ['\\(','\\)']]}});
    </script><script type="text/javascript">
            $(function(){
                $('.timeago').timeago();
            });
        </script>
</body>
</html>
